package com.cuijq.ms.visitordesign.v2;

import com.cuijq.ms.visitordesign.v2.impl.PPTFile;
import com.cuijq.ms.visitordesign.v2.impl.PdfFile;
import com.cuijq.ms.visitordesign.v2.impl.WordFile;

/**
 * @author by CuiJQ
 * @Classname Extractor
 * @Description Extractor Description
 * @Date 2021/5/29 17:44
 */
public class Extractor {

  public void extract2txt(PPTFile pptFile) { //...
    System.out.println("Extract PPT.");
  }

  public void extract2txt(
      PdfFile pdfFile) { //...
    System.out.println("Extract PDF.");
  }

  public void extract2txt(WordFile wordFile) {
    //...
    System.out.println("Extract WORD.");
  }
}
